package com.bdqn.crm.entity;
import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import java.io.Serializable;
@Data
@TableName("sys_user")
public class User implements Serializable {

    @TableId(type = IdType.AUTO)
    @TableField("usrid")
    private Long usrid;
    @TableField("usrname")
    private String usrname;
    private String usrPassword;
    private long usrRoleId;
    private long usrFlag;

    public User() {

    }

    public User(String usrname, String usrPassword, long usrRoleId, long usrFlag) {
        this.usrname = usrname;
        this.usrPassword = usrPassword;
        this.usrRoleId = usrRoleId;
        this.usrFlag = usrFlag;
    }

    public Long getUsrid() {
        return usrid;
    }

    public void setUsrid(Long usrid) {
        this.usrid = usrid;
    }

    public String getUsrname() {
        return usrname;
    }

    public void setUsrname(String usrname) {
        this.usrname = usrname;
    }

    public String getUsrPassword() {
        return usrPassword;
    }

    public void setUsrPassword(String usrPassword) {
        this.usrPassword = usrPassword;
    }

    public long getUsrRoleId() {
        return usrRoleId;
    }

    public void setUsrRoleId(long usrRoleId) {
        this.usrRoleId = usrRoleId;
    }

    public long getUsrFlag() {
        return usrFlag;
    }

    public void setUsrFlag(long usrFlag) {
        this.usrFlag = usrFlag;
    }

}




